extends ../public/layout
include ../template/mixin
block title
    title 店铺首页
block header
    include ../template/navbar
block content
    !{header}
    .am-tabs.am-margin-top-sm(data-am-tabs='')
        !{navigation}
        .am-tabs-bd.white-background.am-padding-top-sm(class="#{shopInfo.listStyle}")
                !{product}
    a#cart.cart-true(href="/cart")
block javascript
    script(type="text/javascript" src = "/bower_components/amazeui/dist/js/amazeui.min.js")
    script(type="text/javascript" src = "/public/javascripts/shop.js")
    script(type="text/javascript").
        $(function(){
           shop.init();
        });